package org.example.news_check.Service;

import org.example.news_check.Pojo.newsHistory;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface newsHistoryService {
    void save(Integer userId, String pageUrl);
    List<newsHistory> findByUserId(Integer userId);
}
